<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title><spring:message code="title.folders" /></title>
</head>
<body>
<div><jsp:include flush="true" page="header.jsp"></jsp:include></div>
<form:form>
	<div align="left" class="body1">
	<div><c:choose>
		<c:when test="${empty folder.documents}">
			<font class="txtnormal"> <spring:message
				code="documents.notfound" /> </font>
		</c:when>
		<c:otherwise>
			<table border="1">
				<c:forEach var="document" items="${folder.documents}">
					<tr>
						<td>${document.fileName}</td>
					</tr>
					<tr>
						<td><img src="${document.location}" /></td>
					</tr>
					<tr>
						<td>${document.description}</td>
					</tr>
					<tr>
						<td colspan="3">Rotate: <a
							href="document/rotateLeft.htm?folder=${folder.folderid}&document=${document.docId}">counter-clockwise</a>
						- <a
							href="document/rotateRight.htm?folder=${folder.folderid}&document=${document.docId}">clockwise</a></td>
					</tr>
					<!-- <tr>
						<td colspan="3">Place : <a
							href="?param=sendOrder&folder=${folder.folderid}&document=${document.docId}">Print
						Order</a></td>
					</tr> -->
				</c:forEach>
			</table>
		</c:otherwise>
	</c:choose></div>
	<br></br>
	<div><input type="button" value="Back"
		onclick="javascript: history.go(-1)" /></div>
	</div>
</form:form>
</body>
</html>
